package cn.clx.ymcc.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 预创订单，存储到redis中的预创订单
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class KillPreOrderParamsDto {
    private String orderNo;
    //秒杀课程的id
    private Long killCourseId;

    private Long activityId;
    //秒杀数量
    private Integer killCount;
    //秒杀单价
    private BigDecimal killAmount = new BigDecimal(0);
    //秒杀人
    private Long userId;

    private Long courseId;
    /**
     * 秒杀课程名字
     */
    private String courseName;
    /**
     * 封面
     */
    private String coursePic;



}
